// import { useState } from 'react';
// import { Sidebar } from 'react-vant';

// export default () => {
//   const [active, setActive] = useState(0);
//   return (
//     <Sidebar value={active} onChange={setActive}>
//       <Sidebar.Item title="内容1"></Sidebar.Item>
//       <Sidebar.Item title="内容2"></Sidebar.Item>
//       <Sidebar.Item title="内容3"></Sidebar.Item>
//     </Sidebar>
//   );
// };
import { useState } from 'react';
import { Sidebar } from 'react-vant';

export default () => {
  const [active, setActive] = useState(0);
  return (
    <Sidebar value={active} onChange={setActive}>
      <Sidebar.Item title="标签名称" />
      <Sidebar.Item title="标签名称" />
      <Sidebar.Item title="标签名称" />
    </Sidebar>
  );
};